home *** CD-ROM | disk | FTP | other *** search
- RM.TXT
-
- remove files Class: Unix
-
- NAME
- RM Remove files
-
- SYNOPSIS
- rm [-finrv] <file>...
-
- DESCRIPTION
- Removes files from a disk.
-
- FLAGS
- -f forcably remove, even if marked as Read Only
- -i inquire prior to the removal
- -n do not actual delete, just show messages. (look before you leap)
- -r recursive delete; removes all subsequent files and sub-directories.
- -v verbose; show all messages.
-
- NOTES
- Recursive remove is useful in deleting entire directory including all
- files and sub-directories. Prior to doing this, it is recommended that
- you include the 'n' and 'v' options to see what will happen before
- actually performing the removals.
-
- The environment variable RM is used to alter the defaults used by the
- program.
- SET RM=v
- will result in always being in the verbose mode. To override this
- default specify 'v' in the command line.
- RM -v file.exe
- will shut off the verbose mode in the above example.
-
- Wild cards may be used in a fashion similar to MSDOS and UNIX.
- ? any character
- * several characters
- . current directory
- .. previous directory
- note:
- '*' by itself wil expand to *.* (????????.???)
-
-
-